<div class=""  ng-controller="g-header">
    <!-- <div class="g-home" ng-show = "loding">
        <img src="./home/img/timg2.gif" alt="">
    </div> -->
        <div class="g-header"  style="background:url({{arr[2].data.imageUrl}}) no-repeat;background-size:100% 100%;">
            <div class="g-header-top">
                <div>
                    <input type="text" name="" value="{{arr[1].data.placeholder}}" id="input">
                    <i class="icon iconfont icon-sousuo_sousuo"></i>
                </div>
                <div>
                    <i class="icon iconfont icon-xiaoxi" ui-sref="msg"></i>
                    <p>消息</p>
                </div>
                <div ng-click="show = !show">
                    <i class="icon iconfont icon-tiaoxingma"></i>
                    <p>结算码</p>
                </div>
            </div>
            <div class="g-header-bottom">
                <div>
                    <img src={{arr[2].data.logoImageUrl}} alt="">
                </div>
                <div>
                    <h4>{{arr[0].data.storeName}}<span>切换门店 <img src="./home/img/a3.png" alt="" width="15px"></span></h4>
                    <h6><img src="./home/img/a2.png" alt="" width="20px">{{arr[2].data.address}}</h6>
                    <span id="huiyuan">＋  会员卡</span>
                </div>
            </div>
        </div>
        <div class="txm" ng-show = "show" ng-click="show = !show">
            <div class="g-content" ng-click = "show = !show">
                <div class="g-content-top">
                    <div>
                        <img src="./home/img/c1.jpg" alt="">
                    </div>
                    <div>
                        <h4>155****7020 <i class="icon iconfont icon-left"></i></h4>
                        <h4>您的密码过于简单，情趣修改密码享受高级功能 <i class="icon iconfont icon-left"></i></h4>
                    </div>
                </div>
                <div class="g-content-main">
                    <img src="./home/img/c2.jpg" alt=""><p>轻松“摇一摇”，快速打开结算码</p>
                </div>
                <div class="g-content-txm">
                    <article class="zzsc">
                        <canvas id="ean" width="320" height="100"></canvas>
                    </article>
                </div>
                <div class="g-content-anniu">
                    <button type="button" name="button">查看订单</button>
                    <button type="button" name="button">我的优惠卷</button>
                </div>
                <div class="g-content-img">
                    <img src="./home/img/c3.jpg" alt="">
                </div>
            </div>
        </div>
        <div class="g-goTop" style="display:none">
            <i class="icon iconfont icon-huidaodingbu"></i>
        </div>
        <div class="g-list">
            <div ng-repeat="item in arr[3].data.items">
                <img src={{item.imageUrl}} alt="">
                <p>{{item.title}}</p>
            </div>
        </div>
        <div class="g-xcrq">
            <div>
                <img src={{arr[4].data.items[0].imageUrl}} alt="">
            </div>
            <div class="g-gdwz">
                <p></p>
            </div>
        </div>
        <div id="trun">
            <div id="wrap1">
                <span></span>
                <span></span>
                <span></span>
                <span></span>
                <span></span>
                <span></span>
            </div>
            <div class="wrap">
                <div id="middle">
                    <div ng-repeat="item in arr[5].data.items"><img src={{item.imageUrl}} alt=""></div>
                    <!-- <div><img src="./home/img/a5.jpg" alt=""></div> -->
                </div>
            </div>
        </div>
        <div class="g-qg">
            <div class="g-qg-top">
                <div>
                    <img src={{arr[6].data.imageUrl}} alt="">
                </div>
                <div>
                    <h4>距结束 <span></span> : <span></span> : <span></span>  </h4>
                </div>
                <div>
                    <p>更多 <span><i class="icon iconfont icon-left"></i></span></p>
                </div>
            </div>
            <div class="g-qg-main">
                <div class="">
                    <div ng-repeat="item in arr[6].data.items">
                        <img src={{item.imageUrl}} alt="">
                        <p>{{item.price | currency: '￥' }}</p>
                        <p>{{item.originalPrice | currency: '￥'}}</p>
                    </div>
                    <div>
                        <div class="g-qb">
                            <p>查看全部</p>
                            <p>See <br> more</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="g-qg-bottom">
                <div ng-repeat="item in arr[7].data.items">
                    <img src={{item.imageUrl}} alt="">
                </div>
            </div>
        </div>
        <div class="g-mqhd">
            <div class="g-mqhd-top">
                <img src={{arr[8].data.imageUrl}} alt="">
                <p>{{arr[8].data.title}}</p>
            </div>
            <div class="g-mqhd-main">
                <img src={{arr[9].data.items[0].imageUrl}} alt="">
            </div>
            <div class="g-mqhd-bottom">
                <img src={{arr[10].data.items[0].imageUrl}} alt="">
                <img src={{arr[10].data.items[1].imageUrl}} alt="">
            </div>
        </div>
        <div class="g-main">
            <div class="g-mqhd-top">
                <img src={{arr1[0].data.imageUrl}} alt="">
                <p>{{arr1[0].data.title}}</p>
            </div>
            <div class="g-main-nav">
                <div>
                    {{arr1[1].data.items[0].title}}
                </div>
                <div class="g-nav">
                    <div class="g-wrap">
                        <p ng-repeat="item in arr1[1].data.items[0].items">{{item.title}}</p>

                    </div>
                </div>
            </div>
            <div class="g-main-nav">
                <div>
                    {{arr1[1].data.items[1].title}}
                </div>
                <div class="g-nav">
                    <div class="g-wrap2">
                        <p ng-repeat="item in arr1[1].data.items[1].items">{{item.title}}</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="gy-jiazai">
            <div class="g-mx-liss" ng-repeat="ele in arr2">
                <div class="g-mx-list">
                    <div class="g-mx-top">
                        <div>
                            <img src={{ele.data.logoImageUrl}} alt="">
                        </div>
                        <div>
                            <p>{{ele.data.title}}</p>
                            <p>{{ele.data.subTitle}}</p>
                        </div>
                        <div>
                            <a href="#">去<br>逛<br>逛</a>
                        </div>
                    </div>
                    <div class="g-mx-tr">
                        <p>{{ele.data.activityObj.title}}</p>
                        <h5>{{ele.data.activityObj.subTitle}}</h5>
                        <p>{{ele.data.activityObj.description}}</p>
                    </div>
                </div>
                <div class="g-mx-footer">
                    <div ng-repeat="item in ele.data.items" ng-click="addGoods();flag = !flag" ng-class="{true: 'active1', false: 'active2'}[flag]">
                        <img src={{item.imageUrl}} alt="{{ele.data.logoImageUrl}}" title={{ele.data.subTitle}}>
                        <p>{{item.title}}</p>
                        <span title={{item.originalPrice}}>￥{{item.price}}</span>
                    </div>
                </div>
            </div>
            <div class="g-zhanwei">
                <img src="./home/img/timg.gif" alt="">
            </div>
        </div>

</div>
